﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ContactManager.Models.Validation
{
    public class ValidationError
    {
        private string _property;
        private string _message;

        public string Property
        {
            get
            {
                return _property;
            }

            private set
            {
                _property = value;
            }
        }

        public string Message
        {
            get
            {
                return _message;
            }

            private set
            {
                _message = value;
            }
        }

        public ValidationError(string property, string message)
        {
            Property = property;
            Message = message;
        } 

    }
}
